package com.team2.outpatient_sys.pojo;

/**
 * 挂号详细信息 实体类
 */
public class RegisteredDetailed {
    // 挂号id
    private Integer id;
    // 用户id
    private Integer userId;
    // 就诊序号
    private Integer serialNumber;
    // 挂号状态(1代表以挂号，2代表待就诊，3代表已完成，4代表已取消)
    private Integer status;
    // 就诊时段(1代表8点到9点，2代表9点到10点，3代表10点到11点，4代表11点到12点，5代表13点到14点，6代表14点到15点，7代表15点到16点，8代表16点到17点)
    private Integer timeQuantum;
    // 挂号时间
    private String regTime;
    //就诊时间
    private String clinicTime;
    //病人信息
    private Patient patient;
    //医生信息
    private Doctor doctor;
    //科室信息
    private Department dept;

    public RegisteredDetailed() {
    }

    public RegisteredDetailed(Integer id, Integer userId, Integer serialNumber, Integer status, Integer timeQuantum, String regTime, String clinicTime, Patient patient, Doctor doctor, Department dept) {
        this.id = id;
        this.userId = userId;
        this.serialNumber = serialNumber;
        this.status = status;
        this.timeQuantum = timeQuantum;
        this.regTime = regTime;
        this.clinicTime = clinicTime;
        this.patient = patient;
        this.doctor = doctor;
        this.dept = dept;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(Integer serialNumber) {
        this.serialNumber = serialNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getTimeQuantum() {
        return timeQuantum;
    }

    public void setTimeQuantum(Integer timeQuantum) {
        this.timeQuantum = timeQuantum;
    }

    public String getRegTime() {
        return regTime;
    }

    public void setRegTime(String regTime) {
        this.regTime = regTime;
    }

    public String getClinicTime() {
        return clinicTime;
    }

    public void setClinicTime(String clinicTime) {
        this.clinicTime = clinicTime;
    }

    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Doctor getDoctor() {
        return doctor;
    }

    public void setDoctor(Doctor doctor) {
        this.doctor = doctor;
    }

    public Department getDept() {
        return dept;
    }

    public void setDept(Department dept) {
        this.dept = dept;
    }

    @Override
    public String toString() {
        return "RegisteredDetailed{" +
                "id=" + id +
                ", userId=" + userId +
                ", serialNumber=" + serialNumber +
                ", status=" + status +
                ", timeQuantum=" + timeQuantum +
                ", regTime='" + regTime + '\'' +
                ", clinicTime='" + clinicTime + '\'' +
                ", patient=" + patient +
                ", doctor=" + doctor +
                ", dept=" + dept +
                '}';
    }
}
